<template>
  <div>
    <div class="tem-container app-container">
      <a-button @click="print" class="signs print">打印</a-button>
      <div id="print">
        <div class="tem_list">
          <div class="tem_main">
            <h1>XXXX</h1>
            <h2>报 价 单</h2>
            <h4>TO：</h4>
            <p class="title"> 感谢惠顾，现将贵公司所需配件报价如下：</p>
            <p class="lip">一、产品价格</p>
            <div style="padding: 0 1px 0 0; margin-bottom: 20px">
              <a-table
                :dataSource="dataSource"
                :columns="columns"
                :pagination="false"
                border
              ></a-table>
            </div>

            <esign-view
              class="esign"
              :height="140"
              v-model:value="value"
              @clear="handleClearClick"
              @ok="handleOkClick"
            ></esign-view>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
  import { defineComponent } from 'vue';
  import IndexMixin from './index-mixin';
  export default defineComponent({
    name: 'esign',
    mixins: [IndexMixin],
  });
</script>

<style lang="less" scoped>
  @import './index.less';
</style>
